Mirko Parthey contributes support for GlobalSat DG-100 track logger.
authorrobertl <robertl>
Fri, 31 Aug 2007 02:26:24 +0000 (02:26 +0000)
committerrobertl <robertl>
Fri, 31 Aug 2007 02:26:24 +0000 (02:26 +0000)
Makefile.in
vecs.c
xmldoc/formats/dg-100.xml [new file with mode: 0644]
xmldoc/formats/options/dg-100-erase.xml [new file with mode: 0644]

index b15191c1e7aa7eb819ae17fbf4ecdb9f71816666..108d16370ba9fdbaa0c51bcc30ae620582f32bca 100644 (file)
@@ -55,7 +55,7 @@ FMTS=magproto.o gpx.o geo.o mapsend.o mapsource.o garmin_tables.o \
        ignrando.o stmwpp.o msroute.o cst.o nmn4.o mag_pdb.o compegps.o \
        yahoo.o unicsv.o wfff_xml.o garmin_txt.o axim_gpb.o gpssim.o \
        wbt-200.o stmsdf.o gtrnctr.o dmtlog.o raymarine.o alan.o vitovtt.o \
-       ggv_log.o g7towin.o garmin_gpi.o lmx.o random.o xol.o
+       ggv_log.o g7towin.o garmin_gpi.o lmx.o random.o xol.o dg-100.o
 
 FILTERS=position.o radius.o duplicate.o arcdist.o polygon.o smplrout.o \
        reverse_route.o sort.o stackfilter.o trackfilter.o discard.o \
diff --git a/vecs.c b/vecs.c
index d47aab4b7cc2863a0bce63a8c157b16686832f48..0e9d4beb889f52451b3b80df3929d198ae3cb3be 100644 (file)
--- a/vecs.c
+++ b/vecs.c
@@ -45,6 +45,7 @@ extern ff_vecs_t compegps_vecs;
 extern ff_vecs_t copilot_vecs;
 extern ff_vecs_t coto_vecs;
 extern ff_vecs_t cst_vecs;
+extern ff_vecs_t dg100_vecs;
 extern ff_vecs_t easygps_vecs;
 extern ff_vecs_t garmin_vecs;
 extern ff_vecs_t garmin_txt_vecs;
@@ -688,6 +689,12 @@ vecs_t vec_list[] = {
                 "Swiss Map # (.xol) format",
                 "xol"
         },
+        {
+                &dg100_vecs,
+                "dg-100",
+                "GlobalSat DG-100/BT-335 Download",
+                NULL
+        },
        {
                NULL,
                NULL,
diff --git a/xmldoc/formats/dg-100.xml b/xmldoc/formats/dg-100.xml
new file mode 100644 (file)
index 0000000..1434c66
--- /dev/null
@@ -0,0 +1,9 @@
+<para>Serial download protocol for the <productname>GlobalSat DG-100</productname> GPS data logger. Although untested it is expected that this will also support the BT-335.</para>
+<para>While the DG-100 has a button to record waypoints, they seem to be indistinguishable from trackpoints. Therefore, all points will be presented as trackpoints, disregarding whether they were recorded automatically or manually.</para>
+<para>
+<ulink url="http://www.globalsat.com.tw/eng/product_detail_00000090.htm">GlobalSat DG-100</ulink>
+</para>
+<example id="dg-100-on-linux">
+  <title>Command showing DG-100 download and erase on Linux</title>
+  <para><userinput>gpsbabel -t -i dg-100,erase -o gpx /dev/ttyUSB0 outputfile.gpx</userinput></para>
+</example>
diff --git a/xmldoc/formats/options/dg-100-erase.xml b/xmldoc/formats/options/dg-100-erase.xml
new file mode 100644 (file)
index 0000000..95424f0
--- /dev/null
@@ -0,0 +1 @@
+<para>This option erases the track log from the device after download.</para>